import type { XtxGuessInstance } from "@/components/components"
import { ref } from "vue"


export const useGuessList = () => {
    //获取猜你喜欢组件实例
    const guessRef =ref<XtxGuessInstance>()
    //滚动
    const onScrolltolower = () => {
    // 获取当前选项
    guessRef.value?.getMore()
    
    }
    // 返回 ref 和事件处理函数
    return {
      guessRef,
      onScrolltolower,
    }
}